-- GENERATED SPELL FOR [Bonechewer Messenger] --


function spell0_21244(pUnit, Event) --@Charge,n/a--
pUnit:FullCastSpellOnTarget(35570,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21244', 2253, 1)
end

function Sorts_21244(pUnit, Event)
local choix_sorts_21244 = math.random(0, 0)
if choix_sorts_21244 == 0 then
pUnit:RegisterEvent('spell0_21244', 1, 1)
end
end

function mob21244_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21244', math.random(1500, 3000), 1)
end

function mob21244_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21244_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21244_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21244, 1, 'mob21244_Action')
RegisterUnitEvent(21244, 2, 'mob21244_Leave')
RegisterUnitEvent(21244, 3, 'mob21244_Kill')
RegisterUnitEvent(21244, 4, 'mob21244_Die')
